Add(TKey,TValue) Method

Summary
Adds an element with the provided key and value to the IDictionary.
Syntax
C#
C++/CLI
public virtual void Add( 
   TKey key, 
   TValue value 
) 
public: 
virtual void Add(  
   TKey^ key, 
   TValue^ value 
)  

Parameters

key
The object to use as the key of the element to add.

value
The object to use as the value of the element to add.

Exceptions

ExceptionDescription
System.ArgumentNullExceptionkey is null.
System.ArgumentExceptionAn element with the same key already exists in the IDictionary.
System.NotSupportedExceptionThe IDictionary is read-only.
Requirements

Target Platforms

Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Dicom.AddIn Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.